﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Threading;

namespace WCFService.Labb1
{
    public class TSP
    {
        public int distance { get; set; }

        public TSP()
        {
        }

        public List<City> runTSP(List<City> citiesToVisit)
        {
            Thread.Sleep(2000 * citiesToVisit.Count);
            distance = citiesToVisit.Count * 8;
            return citiesToVisit;
        }
    }
}